require("lualib_bundle");
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["4"] = 3,["5"] = 3,["6"] = 5,["7"] = 8,["8"] = 9,["9"] = 9,["11"] = 10,["12"] = 8,["13"] = 8,["14"] = 5,["15"] = 13,["16"] = 14,["17"] = 15,["18"] = 16,["19"] = 15,["20"] = 18,["21"] = 13});
local ____exports = {}
local ____useReducer = require("solar.w3ts.tsx.basic_pragma.hooks.useReducer")
local useReducer = ____useReducer.useReducer
____exports.useState = function(initialState) return useReducer(
    function(oldState, v)
        if type(v) ~= "function" then
            return v
        end
        return v(oldState)
    end,
    initialState
) end
____exports.useForceUpdate = function()
    local ____, setTick = table.unpack(____exports.useState(0))
    local function update()
        setTick(function(tick) return tick + 1 end)
    end
    return update
end
return ____exports
